/* 全局样式 */
/* 页面基础样式 */
body {
    font-family: 'KaiTi', 'Arial', sans-serif;
    background-image: url('../image/IMG_20240508_212554.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #f0f0f0;
    margin: 0;
    padding: 0;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* 文字阴影增强可读性 */
    position: relative;
    background-attachment: fixed;
}

/* 页头样式 */
header {
    background-color: rgba(0, 123, 255, 0.8);
    color: white;
    text-align: center;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* 轮播图样式 */
.carousel {
    width: 80%;
    margin: 20px auto;
    position: relative;
}

.carousel-slide {
    display: none;
    position: relative;
    text-align: center;
}

.carousel-slide img {
    width: 100%;
    border-radius: 10px;
}

.carousel-caption {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* 主内容介绍 */
.intro {
    padding: 20px;
    background: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #333;
}

/* 导航按钮样式 */
.button {
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFD700; /* 金色文字 */
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    margin: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    transform: translateY(-2px);
}

/* 页脚 */
footer {
    text-align: center;
    padding: 10px;
    background-color: rgba(76, 175, 80, 0.8);
    color: white;
}











/*
body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding: 0;
}

/* 头部
header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 5px solid #2c8f29;
}

header h1 {
    font-size: 36px;
    margin: 0;
}

/* 按钮样式
button, a.button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover, a.button:hover {
    background-color: #45a049;
}

/* 页面内容区
section {
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #4CAF50;
}

section h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
}

section p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 10px;
}


 */
nav ul li a {
    color: #4CAF50;
    font-size: 18px;
    text-decoration: none;
    padding: 10px;
}

nav ul li a:hover {
    color: #333;
    text-decoration: underline;
}

/* 留言板样式 */
form textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-bottom: 20px;
}

form button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background-color: #4CAF50;
    border: none;
    color: white;
    border-radius: 5px;
}

form button:hover {
    background-color: #45a049;
}

/* 名言样式 */
.quotes ul {
    list-style: none;
    padding: 0;
}

.quotes ul li {
    background-color: #f9f9f9;
    border-left: 5px solid #4CAF50;
    padding: 10px;
    margin: 10px 0;
    font-size: 18px;
}
